﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Windows.WorkFlow.Service
{
    public interface IWorkFlowManager
    {
        /// <summary>
        /// 开始任务
        /// </summary>
        /// <param name="runtime"></param>
        /// <returns></returns>
        System.Threading.Tasks.Task Start(FlowRuntime runtime);
        /// <summary>
        /// 下一步
        /// </summary>
        /// <param name="runtime"></param>
        /// <returns></returns>
        System.Threading.Tasks.Task Next(FlowRuntime runtime);
    }
}
